<?php defined('SYSPATH') OR die('No direct access allowed.');
	$arrResponsaveis = ( isset($arrResponsaveis) )? $arrResponsaveis: array();
        
//        echo '<pre>';
//        print_r($arrIndividuo);
//        echo '</pre>';
        
?>
<form action="<?php echo url::site( $action ); ?>" id="formPesquisa" method="get" data-ajax="false">
    <div data-role="fieldcontain" class="ui-hide-label">
        
        <div data-role="fieldcontain" >
            <label class="ui-input-text" for="nome_crianca">Nome:</label>
            <input type="text" id="nome_crianca" name="nome_crianca" placeholder="Nome da criança" />
        </div>
        
        <div data-role="fieldcontain">
            <label class="ui-input-text" for="data">Data:</label>
            <input type="text" class="data" name="data_nasc" placeholder="Data de nascimento" cols="10" />
        </div>
        
        <div data-role="fieldcontain">
		<label for="selResponsaveis" class="select ui-select">Vacinas :</label>
                <div class="ui-select">
                    <select name="cod_responsavel" id="selResponsaveis" data-native-menu="false" tabindex="-1">
                        <option value="">Responsáveis</option>
                    <?php
                        foreach ($arrResponsaveis as $arrLinha){
                            echo '<option value="'. $arrLinha['cod_responsavel'] . '">' . $arrLinha['nome_responsavel'] . '</option>';
                        }
                    ?>
                    </select>
                </div>
	</div>
        
<!--        <div class="ui-field-contain ui-body ui-br" data-role="fieldcontain">
            <label class="ui-input-text" for="nome_responsavel">Nome Responsável:</label>
            <input type="text" id="nome_responsavel" name="nome_responsavel" placeholder="Nome Responsável" />
        </div>-->
        
        <input type="submit" value="Pesquisar" />
        
    </div>
</form>